@keyframes scaleUp {
    from {
        transform: scale(0) translate(-50%, -50%);
        /* 添加初始定位 */
        opacity: 0;
    }

    to {
        transform: scale(1) translate(-50%, -50%);
        /* 保持居中定位 */
        opacity: 1;
    }
}

@keyframes shrinkOut {
    from {
        transform: scale(1) translate(-50%, -50%);
        opacity: 1;
    }

    to {
        left: 50%;
        top: 25%;
        /* 保持 translate 的居中偏移，同时添加 !important 确保优先级 */
        transform: scale(0) translate(-50%, -50%);
        opacity: 0;
    }
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darkened background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-wrap: wrap;
}
.scale-animation {
    animation: scaleUp 1s ease-out;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 43rpx;
    width: 610rpx;
    height: 598rpx;
    text-align: center;
}

.shrink-animation {
    animation: shrinkOut 0.8s ease-in forwards;
    position: fixed !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    width: 100px;
    text-align: center;
    font-weight: bold;
}
.delet-icon-error {
    position: absolute;
    width: 60rpx;
    height: 60rpx;
    bottom: 20%;
    transform: translateY(-20%);
}
.delet-icon-error image {
    width: 100%;
    height: 100%;
}
.err-title{
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 36rpx;
    color: #333333;
    line-height: 60rpx;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 12rpx;
}
.err-text{
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 28rpx;
    color: #666666;
    line-height: 42rpx;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 12rpx;
}
.err-btn{
    width: 516rpx;
    height: 90rpx;
    background: #FF4E0D;
    border-radius: 60rpx 60rpx 60rpx 60rpx;
    margin: 0 auto;
    font-family: PingFang HK, PingFang HK;
    font-weight: 600;
    font-size: 32rpx;
    color: #FFFFFF;
    line-height: 90rpx;
    text-align: center;
    font-style: normal;
    margin-top: 58rpx;
}